﻿using System;
using System.Collections.Generic;
using System.Text;
using OneMG.Phoenix.Entity;
using OneMG.Phoenix.Service.Model;

namespace OneMG.Phoenix.Service.Contracts
{
    public interface IProductService
    {
        System.Int32 AddProduct(ProductModel model );

		void UpdateByProductID (ProductModel model );

		void DeleteByProductID (System.Int32 productID );
		 
        ProductModel GetByProductID (System.Int32 productID );

        IList<ProductModel> GetPagedList(int pageSize, int pageIndex,int categoryID, out int totalRecord);

        
    }
}